from django.urls import re_path
from rest_framework_jwt.views import verify_jwt_token

from activity.views import ActivityAPIView, ActivityListAPIView, ActivityApplyAPIView
from . import views

urlpatterns = [
    re_path(r'^gatherings/$', ActivityAPIView.as_view()),
    re_path(r'^gatherings/(?P<id>\d+)/$', ActivityListAPIView.as_view()),
    re_path(r'^gatherings/(?P<id>\d+)/join/$', ActivityApplyAPIView.as_view()),
]